package com.pucong.gitee.database.backup.common.entity.database.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author pucong
 */
@Data
@ApiModel("执行结果")
public class ExeSqlResult  implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("结果值")
    private BigDecimal resultInteger;

    @ApiModelProperty("执行结果")
    private List<Map<String,Object>> resultList = new ArrayList<>();

    @ApiModelProperty("执行结果List")
    private List<List<String>> valueList = new ArrayList<>();

    @ApiModelProperty("查询字段")
    private List<ResultFiledVo> filedList = new ArrayList<>();

    @ApiModelProperty("执行耗时 毫秒")
    private Long execTime;
}
